
using System;
using Abp.Application.Services.Dto;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities;
using Yozeev.PhoneBooks.Books;

namespace Yozeev.PhoneBooks.Books.Dtos
{
    public class BookListDto : EntityDto<long> 
    {

        
        /// <summary>
        /// 书名
        /// </summary>
        [Required(ErrorMessage="书名不能为空")]
        public string Name { get; set; }



        /// <summary>
        /// 书籍类型
        /// </summary>
        public BookType Type { get; set; }



        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PublishDate { get; set; }



        /// <summary>
        /// 价格
        /// </summary>
        public float Price { get; set; }



		
				
		//// custom codes
		// TODO 自定义代码

		// TODO 自定义代码

		// TODO 自定义代码

		// TODO 自定义代码

		
		
		
		//// custom codes end

    }
}